var li = $$(".links li");
for(var i = 0; i<li.length;i++){
	var a = li[i].select("a")[0];
	
	if(a.readAttribute("href") != null){
		var url = a.readAttribute("href");
		var tagstring = "&nbsp;&nbsp;&nbsp;<div class='fb-like' data-href='"+url+"' data-layout='button_count' data-action='like' data-show-faces='false' data-share='false' data-action='like'></div>";
		li[i].innerHTML += tagstring;
	}
	
}

